<html><body>
  What's your name, Sir?<br>
  <form action="http://127.0.0.0:8888/namepost" method="post">
    <input name="name" type="text">
    <input type="submit" value=" Send ">
  </form>
  <!DOCTYPE html>
<html>
  <body>
    <button
      onmousedown="fetch('http://127.0.0.0:8888/post-start', { method: 'POST' })"
      onmouseup="fetch('http://127.0.0.0:8888/post-end', { method: 'POST' })">
      Hold Me
    </button>
  </body>
</html>

</body></html>
